//
//  MainManager.h
//  Cat
//
//  Created by lushitong on 2019/1/31.
//  Copyright © 2019年 lushitong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MainViewController.h"

typedef NS_ENUM(NSInteger,TabbarIndexType) {
	TabbarIndexTypeHome         = 0,
	TabbarIndexTypeAssot       = 1,
	TabbarIndexTypeMe           = 2,
};


@interface MainManager : NSObject

// 获取MainVC
+ (MainViewController *)defaultMainVC;


/// 初始化app时添加对应tabbar红点
+ (void)addBadgeWithIndex:(TabbarIndexType)index tabBarController:(QKBaseTabBarController *)tabBarController;

/// 初始化app时删除对应tabbar红点
+ (void)removeBadgeWithIndex:(TabbarIndexType)index tabBarController:(QKBaseTabBarController *)tabBarController;

/// 添加对应tabbar红点
+ (void)addBadgeWithIndex:(TabbarIndexType)index;

/// 删除对应tabbar红点
+ (void)removeBadgeWithIndex:(TabbarIndexType)index;

@end

